package com.happy.cat.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 用户意见反馈对象 user_opinion
 * 
 * @author verne
 * @date 2020-08-23
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_opinion")
@ApiModel(value="用户意见反馈对象", description="用户意见反馈对象数据")
public class UserOpinion implements Serializable {

private static final long serialVersionUID=1L;


    /** ID */
    @ApiModelProperty(value = "${comment}")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long accountId;

    /** 问题类型 */
    @Excel(name = "问题类型")
    @ApiModelProperty(value = "问题类型")
    private String problemType;

    /** 截图 */
    @Excel(name = "截图")
    @ApiModelProperty(value = "截图")
    private String problemImgs;

    /** 意见描述 */
    @Excel(name = "意见描述")
    @ApiModelProperty(value = "意见描述")
    private String problemText;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty(value = "联系方式")
    private String contact;

    /** 
提交时间 */
    @ApiModelProperty(value = "联系方式")
    private Date createTime;

    /** 回复 */
    @Excel(name = "回复")
    @ApiModelProperty(value = "回复")
    private String replyText;

    /** 回复时间 */
    @Excel(name = "回复时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "回复时间")
    private Date replyTime;

    /** 回复人 */
    @Excel(name = "回复人")
    @ApiModelProperty(value = "回复人")
    private String replyBy;
}
